/*公共样式*/
.el-font {
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

.relative-wrapper {
    position: relative;
}

.light-shadow {
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1)
}

.basic-shadow {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04)
}

.thin-grey-border {
    border: rgba(0, 0, 0, 0.1) 1px solid;
}

.thin-darkgrey-border {
    border: rgba(0, 0, 0, 0.3) 1px solid;
}

/*整体框架布局*/
.home-wrapper {
    box-sizing: border-box;
    height: 100%;
    padding: 15px 20px;
}

.home-frame {
    box-shadow: 0 0 2px 2px #eeeeee;
    border-radius: 10px;
    border: none;

    position: relative;
}

.flex-frame {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: space-between;
    overflow: auto;

    box-sizing: border-box;
    max-height: calc(100% - 32px);
    padding-bottom: 20px;
    scrollbar-width: none;
}

.flex-frame::-webkit-scrollbar {
    display: none;
}

/*卡片布局*/
.add-card {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 80px;

    color: #eeeeee;
    background-color: white;
    cursor: pointer;
}

.add-card:hover {
    color: white;
    background-color: #eeeeee;
}

.graph-card {
    width: 19%;
    min-width: 240px;
    min-height: 170px;
    max-height: 200px;

    border-radius: 5px;
    border: none;
    box-shadow: 0 0 3px 3px #eeeeee;

    position: relative;
    box-sizing: border-box;
    margin: 5px 5px 5px 6px;

    user-select: none;
}

/*显示关闭按钮*/
.graph-card:hover :first-child {
    z-index: 1;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    color: gray;
    cursor: pointer;
}

.close-btn:hover {
    color: #409eff;
}

.upDraw-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    color: gray;
    cursor: pointer;
}

.upDraw-btn:hover {
    color: #409eff;
}

/*对话框样式*/
.dialog-content {
    font-size: 15px;
}

.dialog-footer {
    display: flex;
    justify-content: flex-end;
}

/*卡片内部样式*/
.card-image {
    box-sizing: border-box;
    width: 100%;
    height: 82%;

    cursor: pointer;

    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: #f5f7fa;
}

.card-description {
    box-sizing: border-box;
    width: 100%;

    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 0 12px 5px 20px;

    position: absolute;
    bottom: 0;
    font-size: 15px;
    line-height: 20px;

    display: flex;
    justify-content: space-between;
}

.icon-wrapper {
    cursor: pointer;

    font-size: 18px;
    color: rgba(255, 205, 66, 0.5);
}

.tool-bar {
    display: flex;
    justify-content: space-between;
    height: 32px;
    width: 100%;

    position: absolute;
    bottom: 15px;
}

.search-input {
    width: 60%;
}


.resolve-button {
    position: absolute;
    margin: 7px;
    right: 0;
    bottom: 0;
}

.edit-button {
    position: absolute;
    margin: 0;
    right: 30px;
    bottom: 10px;
}
